package com.cskaoyan.service;

import com.cskaoyan.dao.UserDao;
import com.cskaoyan.dao.UserDaoImpl;

/**
 * @author stone
 * @date 2022/09/29 11:03
 */
public class UserServiceImpl implements UserService{
    UserDao userDao;// = new UserDaoImpl();

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void method1() {
        System.out.println("UserService提供的method1");
        userDao.method3();
    }
}
